The following is an example configuration of shared and private port channel:
efa tenant po create --name sharedPO --tenant sharedTenant --port 10.20.246.15[0/31],10.20.246.16[0/31] --speed 10Gbps --negotiation active efa tenant po create --name ten1po1 --tenant tenant1 --port 10.20.246.17[0/11],10.20.246.18[0/11] --speed 10Gbps --negotiation active efa tenant po create --name ten1po2 --tenant tenant1 --port 10.20.246.25[0/11],10.20.246.26[0/11] --speed 10Gbps --negotiation active efa tenant po create --name ten2po1 --tenant tenant2 --port 10.20.246.17[0/21],10.20.246.18[0/21] --speed 10Gbps --negotiation active efa tenant po create --name ten2po2 --tenant tenant2 --port 10.20.246.25[0/21],10.20.246.26[0/21] --speed 10Gbps --negotiation active efa tenant po show +----------+--------------+----+--------+-------------+----------+---------+--------------------+------------+-------------+-------------+ | Name | Tenant | ID | Speed | Negotiation | Min Link | Lacp | Ports | State | Dev State | App State | | | | | | | Count | Timeout | | | | | +----------+--------------+----+--------+-------------+----------+---------+--------------------+------------+-------------+-------------+ | sharedPO | sharedTenant | 1 | 10Gbps | active | 1 | long | 10.20.246.16[0/31] | po-created | provisioned | cfg-in-sync | | | | | | | | | 10.20.246.15[0/31] | | | | +----------+--------------+----+--------+-------------+----------+---------+--------------------+------------+-------------+-------------+ | ten1po1 | tenant1 | 1 | 10Gbps | active | 1 | long | 10.20.246.18[0/11] | po-created | provisioned | cfg-in-sync | | | | | | | | | 10.20.246.17[0/11] | | | | +----------+--------------+----+--------+-------------+----------+---------+--------------------+------------+-------------+-------------+ | ten1po2 | tenant1 | 1 | 10Gbps | active | 1 | long | 10.20.246.25[0/11] | po-created | provisioned | cfg-in-sync | | | | | | | | | 10.20.246.26[0/11] | | | | +----------+--------------+----+--------+-------------+----------+---------+--------------------+------------+-------------+-------------+ | ten2po1 | tenant2 | 2 | 10Gbps | active | 1 | long | 10.20.246.18[0/21] | po-created | provisioned | cfg-in-sync | | | | | | | | | 10.20.246.17[0/21] | | | | +----------+--------------+----+--------+-------------+----------+---------+--------------------+------------+-------------+-------------+ | ten2po2 | tenant2 | 2 | 10Gbps | active | 1 | long | 10.20.246.25[0/21] | po-created | provisioned | cfg-in-sync | | | | | | | | | 10.20.246.26[0/21] | | | | +----------+--------------+----+--------+-------------+----------+---------+--------------------+------------+-------------+-------------+